import axios from 'axios';

export const getClasses = async () => {
    // 获取所有班级
    const url = "/api/classes"
    const response = await axios.get(url)
    return response.data.data
}